package com.darren.euc.service;

import java.util.List;

import com.darren.euc.entity.PageBean;
import com.darren.euc.entity.Meetingroom;

import net.sf.json.JSONObject;

public interface MeetingroomService {
    
	public Meetingroom save(Meetingroom meetingroom);
    
	public Meetingroom update(Meetingroom meetingroom);
	
	public void delete(Meetingroom meetingroom);
    
	public List<Meetingroom> getAll();
    
	public PageBean queryForPageUseHQL(JSONObject requestJson,Integer pageSize, Integer currentPage);

	public PageBean queryForPageSpaceIdHQL(Integer spaceId,Integer pageSize, Integer currentPage);

	public void generateMeetingroomData(Integer days);
	
	public List<Meetingroom> getMeegingroomWithStatus(Integer spaceId,String startDate,String endDate);
	
	public Meetingroom findById(Integer id);
}